package com.example.myapplication1.Bean;

import com.example.myapplication1.R;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class User extends LitePalSupport {
    int id;
    //用户名不可以重复
    @Column(unique = true, defaultValue = "unknown")
    String name;
    String password;
    int usering= R.drawable.mmm;

    public User() {
    }

    public User(int id, String name, String password) {
        this.id = id;
        this.name = name;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUsering() {
        return usering;
    }

    public void setUsering(int usering) {
        this.usering = usering;
    }
}
